home *** CD-ROM | disk | FTP | other *** search
- function MovieListener(objectId) {
- this.objectId = objectId;
-
- MovieListener.prototype.onMovieInitialized = function(event) {
- if (typeof(fusion) != "undefined" && fusion != null) {
- var size = event.getState();
- fusion.onNavFlashInitialized(this.objectId + ":" + size.w + ":" + size.h);
- }
- };
- }
-
- function NOF_PageViewController(movieCollection) {
- this.__proto__ = NOF_PageViewController.prototype;
-
- this.movieCollection = movieCollection;
- }
-
- {
- var method = NOF_PageViewController.prototype;
-
- method.onResize = function (width, height) {
- var movie = this.movieCollection.getMovieByIndex(0);
- movie.doInitialPositioning(width, height);
- movie.restart();
- }
-
- method.setProperty = function (name, value, commit) {
- this.movieCollection.getMovieByIndex(0).callFlashMethod("setProperty", name + "," + value);
- }
- }